package com.yyb.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * TbDormAddDTO
 * <p>用于新增宿舍信息的请求体模型</p>
 */
@Data
@Schema(title = "TbDormAddDTO", description = "新增宿舍信息的入参模型")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TbDormAddDTO {

    /** 楼号 */
    @Schema(title = "楼号")
    @NotBlank(message = "楼号不能为空")
    private String buildingNo;

    /** 层号 */
    @Schema(title = "层号")
    @NotBlank(message = "层号不能为空")
    private String floorNo;

    /** 房间号 */
    @Schema(title = "房间号")
    @NotBlank(message = "房间号不能为空")
    private String roomNo;

    /** 性别（字典） */
    @Schema(title = "性别（字典）")
    @NotBlank(message = "性别不能为空")
    private String gender;

    /** 当前风险等级（字典） */
    @Schema(title = "当前风险等级（字典）")
    @NotBlank(message = "风险等级不能为空")
    private String riskLevel;
}
